#include"SListNode.h"
void test()
{
	SListNode* plist = NULL;
	SListPrint(plist);
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 4);
	SListPrint(plist);
	SListPushFront(&plist, 2);
	SListPrint(plist);
	SListPopBack(&plist);
	SListPrint(plist);
	SListPopFront(&plist);
	SListPrint(plist);
	SListNode* find=SListFind(plist, 2);
	SListInsertAfter(find, 100);
	SListPrint(plist);
	SListEraseAfter(find);
	SListPrint(plist);
	SLTInsert(&plist, find, 100);
	SListPrint(plist);
	SLTErase(&plist, find);
	SListPrint(plist);
}

int main()
{
	test();
	return 0;
}